﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace testunite2
{
     [TestFixture]
    public class Employeetest
    {
         [SetUp]
         public void setup()
         {
             printer.Employee a = new printer.Employee();
             a.PassWord = "";
             a.User_Name = "";
         }
         [Test]
        public void login_null(ref printer.Employee a)
        {
           
            Assert.That(a.login(ref a), Is.True);

        }
         [SetUp]
         public void setup_1()
         {
             printer.Employee a = new printer.Employee();

             a.PassWord = "ahmed";
             a.User_Name = "1236";
         }
        [Test]
        public void login_value(ref printer.Employee a)
        {
            Assert.That(a.login(ref a), Is.True);
        }
     }
}
